<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let goods={
            name:"小米10青春版",
            num:"100012816024",
            weight:"0.55kg",
            address:"中国大陆"
        };
        // 查对象
        console.log(goods.name);
        console.log(goods.num);
        console.log(goods.weight);
        console.log(goods.address);
        // 改对象
        goods.address = '中国台湾'
        console.log(goods.address);
        // 增对象
        goods.height='120cm'
        console.log(goods.height);
        
    </script>
</body>
</html>